﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Drawing.Design;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using WenSkin.Controls;

namespace WenFrame.UserControls
{
    //[Designer(typeof(WenSkin.Design.Designer.TextBoxComponentDesigner))]
    public partial class WenUserControlTem : WenUserControl
    {
        public WenUserControlTem()
        {
            InitializeComponent();
            if (StatePower)
                new WenUserControlPower(this).SetPower();

            this.propertyGrid1.SelectedObject = powerGetSqlString1;
        }


        #region 公有属性

        [Category("Wen"), Description("是否开启权限"), DefaultValue(true)]
        public bool StatePower { get; set; } = true;

        #endregion
    }
}
